{__NOLAYOUT__}
<layout name="layoutPC" />
<div class="container" ng-controller="publisherController">
    <div class="row">
        <div class="col-sm-4">
            <div class="fetcher-title">
                <p>我是甲方：我要发活</p>
                <if condition="isset($_SESSION['loginUser']) eq true">
                    <a href="<{:U('Publisher/publishPC')}>" style="padding: 0;" ng-click="publish()">现在发活</a>
                    <a href="<{:U('Manage/publisherPC')}>">管理发的活</a>
                <else />
                    <a href="<{:U('Login/loginPC')}>">简历</a>
                    <a href="<{:U('Login/loginPC')}>">管理发的活</a>
                </if>
            </div>
        </div>
        <div class="col-sm-8">
            <div class="search row">
                <form class="search-form" role="form" novalidate>
                    <div class="col-sm-8" style="padding-right:0;">
                        <input type="text" class="form-control big-input" ng-model="keyword" style="border: solid 3px rgb(48,167,210);border-radius: 0" placeholder="搜索人名/岗位等所有关键词">
                    </div>
                    <div class="col-sm-4" style="padding-left:0;">
                      <input type="button" class="search-button" value="搜索" ng-click="search()">
                    </div>
                </form>
            </div>
        </div>
        <php>
            $keywords = getKeywords();
        </php>
        <div class="col-sm-8">
            <div class="search-hot">
                <span style="float:left;">热门搜索：</span>
                <ul>
                    <foreach name="keywords" item="vo">

                        <li  ng-click="quickSearch('<{$vo}>')" style="cursor: pointer"><{$vo}></li>
                    </foreach>

                </ul>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-4">
            <div class="work-time-picker double-column">
                <div class="choice-picked">
                           岗位时限筛选
                    <div class="choices">
                        <div class="choice choice-fetcher" ng-repeat="job in jobs"  ng-show="job.active">
                            {{job.stat_name}}
                            <div class="cancel" ng-click="jobClick($index)"></div>
                        </div>
                        <div class="choice choice-fetcher" ng-repeat="duration in durations"  ng-show="duration.active" >
                            {{duration.name}}
                            <div class="cancel" ng-click="durationClick($index)"></div>
                        </div>
                       <!-- <div class="choice choice-fetcher">
                            剪辑
                            <div class="cancel"></div>
                        </div>
                        <div class="choice choice-fetcher">
                            双周内
                            <div class="cancel"></div>
                        </div>
                        <div class="choice choice-fetcher">
                               三周内
                            <div class="cancel"></div>
                        </div>-->
                    </div>

                </div>
                <div class="choice-unpicked">
                    岗位筛选（可多选）
                    <div class="work-choices" style="margin:0 -30px">
                        <div class="choice choice-fetcher" ng-mouseenter="job.hover = true" ng-mouseleave="job.hover = false" style="padding-left: 30px;" ng-repeat="job in jobs" ng-click="jobClick($index)" ng-show="!job.active">
                            {{job.stat_name}}
                            <div class="choice-description"  ng-show="job.hover&&!job.active">
                                {{job.stat_name}}
                                <span >{{job.description}}</span>
                            </div>
                        </div>
                        <!--<div class="choice choice-fetcher">
                            编剧
                        </div>
                        <div class="choice choice-fetcher">
                            制片（团队）
                        </div>
                        <div class="choice choice-fetcher">
                            演员/模特/主持/配音
                        </div>
                        <div class="choice choice-fetcher">
                            摄影/灯光
                        </div>
                        <div class="choice choice-fetcher">
                            美术
                        </div>
                        <div class="choice choice-fetcher">
                            录音/作曲
                        </div>
                        <div class="choice choice-fetcher">
                            剪辑
                        </div>
                        <div class="choice choice-fetcher">
                            调色
                        </div>
                        <div class="choice choice-fetcher">
                            特效（二维/三维动画）
                        </div>
                        <div class="choice choice-fetcher">
                            导演助理/场记
                        </div>
                        <div class="choice choice-fetcher">
                            平面设计（UI/海报等）
                        </div>
                        <div class="choice choice-fetcher">
                            平面摄影
                        </div>
                        <div class="choice choice-fetcher">
                            开发/编程
                        </div>
                        <div class="choice choice-fetcher">
                                其他
                        </div>-->
                    </div>
                    <hr>
                    时限筛选（可多选）
                    <div class="time-choices">
                        <div class="choice choice-fetcher" ng-repeat="duration in durations" ng-click="durationClick($index)" ng-show="!duration.active">
                            {{duration.name}}
                        </div>
                        <!--<div class="choice choice-fetcher">
                            两周内
                        </div>
                        <div class="choice choice-fetcher">
                            三个月内
                        </div>
                        <div class="choice choice-fetcher">
                            长期
                        </div>-->
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-8">
            <div class="row">
                <div class="recent-message">
                    <h3 style="padding-left: 20px;padding-top: 10px;">活控正在发生</h3>
                    <ul style="padding-left:20px;margin-left:20px;">
                        <a target="_blank" ng-repeat="ad in advert" href="/index.php/content/getNewsInfo?id={{ad.id}}">
                            <li>{{ad.title}}</li>
                        </a>

                    </ul>
                    <div style="position: absolute;right:0px;top:-4px">
                        <a href="">
                            <img src="__PUBLIC__/static/pc/img/u122.png" style="height:164px;width:208px;">
                        </a>
                    </div>
                </div>
            </div>
            <div id="publish-now" class="row">
                <div class="col-sm-6 col-sm-offset-2">
                    <button class="btn-blue-line btn-lg btn-block" type="button" ng-click="publish()" style="font-size:27px;">现在发活</button>
                </div>
                <div id="publishe-desc" class="col-sm-6 col-sm-offset-2">主动发活，让更多优秀的乙方找到你！</div>
            </div>
            <p style="font-size:22px;margin-top:10px;">乙方信息</p>
            <div class="position-list">
                <div class="position" ng-repeat="user in userinfo">
                    <a class="profile" href="<{:U('FetcherInfo/indexpC')}>?user_id={{ user.user_id }}">
                        <div class="position-header" style="padding:0 0 15px 0;">
                            <img class="head-portrait" src="__UPLOAD__/{{ user.image_url }}">
                            <span>{{ username(user.user_name) }}</span>
                            <div ng-show="user.trust==2" class="believe-box" style="margin-top:18px;">
                                <img src="__PUBLIC__/static/pc/img/u18.png" style="width:22px;height:22px;position:relative;">
                                <p class="believe believe-fetcher">信</p>
                            </div>
                            <div class="lvl-box" style="margin-top:18px;">
                                <img src="__PUBLIC__/static/pc/img/u4.png" style="width:55px;height:22px;position:relative;">
                                <p class="lvl-fetcher ">乙.V{{ user.level_y }}</p>
                            </div>
                        </div>
                        <div class="information-display row" style="margin:15px 0 0 0;">
                          <div class="col-sm-2 title" style="padding-left:0;text-align:left;">接活岗位</div>
                          <div class="col-sm-9 content" style="margin-left:-35px;">{{ user.jobs }}</div>
                        </div>
                        <div class="information-display row" style="margin:5px 0 0 0;">
                          <div class="col-sm-2 title" style="padding-left:0;text-align:left;">学历信息</div>
                          <div class="col-sm-9 content" style="margin-left:-35px;">{{ user.degreeMeaning || '暂无相关信息'}}</div>
                        </div>
                        <div class="information-display row" style="margin:5px 0 0 0;">
                          <div class="col-sm-2 title" style="padding-left:0;text-align:left;">代表经历</div>
                          <div class="col-sm-9 content" style="margin-left:-35px;">{{transExperience(user.experiences)}}</div>
                        </div>
                    </a>
                </div>
                <a href="javascript:void(0)" ng-click="fetchYFInfo()">更多...</a>
            </div>
        </div>  
    </div>
    <!--<div class="help-block" ng-repeat="mission in missions">
        {{mission}}
    </div>-->
    <input type="hidden" id="user-name" value="<{$Think.session.loginUser.user_name}>"/>

</div>